package com.core.ui.bar.widget;

import java.util.ArrayList;
import java.util.List;

import android.content.Context;

public class Menu {

	private Context mContext;
	private List<MenuItem> mItems;

	public Menu(Context mContext) {
		this.mContext = mContext;
		mItems = new ArrayList<MenuItem>();
	}

	public Context getmContext() {
		return mContext;
	}

	public void addMenuItem(MenuItem item) {
		mItems.add(item);
	}

	public void removeMenuItem(MenuItem item) {
		mItems.remove(item);
	}

	public List<MenuItem> getMenuItems() {
		return mItems;
	}

	public MenuItem getMenuItem(int index) {
		return mItems.get(index);
	}
}
